package com.dgut.usermanager.service;


import com.dgut.usermanager.entity.User;

import java.util.List;
import java.util.Optional;

public interface UserService {
    public Optional<User> findUserById(Integer id);
    public List<User> findAllUser();
    public User findUserByUsername(String username);
    public void deleteUserById(Integer id);
    public User updateUser(User user);
    public User AddUser(User User);
}
